package com.zxl.feign;


import com.zxl.vo.Car;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(value = "car",path = "/car")
public interface CarFeign {

    @RequestMapping("/listByUidAndGid")
    Map<String, Object> carListByGidAndUid(@RequestParam("uid") Integer uid, @RequestParam("gids") String[] gids);
}
